<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Resultat ${year}</title>
</head>
<body>
${ShootDay.name}  <fmt:formatDate value="${ShootDay.date}" pattern="dd-MM-yyyy" />
	<form action="/team/generate"  method="post">
		<input type="hidden" name="idShoot" value="${ShootDay.id}"/>
		<input type="text" name="number" value="4"/>
		<select multiple="multiple" name="idShooter" size="25">
		    <c:forEach items="${listPerson}" var="pers">
		        <option value="${pers.id}">${pers.name} ${pers.forName}</option>
		    </c:forEach>
		</select>
		<input type="submit" id="addButton" value="Generer"/>
	</form>
</body>
</html>